package com.hl.card.common.persistence.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 积分入户
 * </p>
 *
 * @author stylefeng
 * @since 2019-01-19
 */
@TableName("integrate")
public class Integrate extends Model<Integrate> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String name;
    /**
     * 账号
     */
    private String account;
    private Integer age;
    /**
     * 学历
     */
    private Integer education;
    /**
     * 社保年限
     */
    @TableField("sb_years")
    private Integer sbYears;
    /**
     * 接收手机
     */
    private String phone;
    @TableField("create_time")
    private Date createTime;
    private Integer score;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getEducation() {
        return education;
    }

    public void setEducation(Integer education) {
        this.education = education;
    }

    public Integer getSbYears() {
        return sbYears;
    }

    public void setSbYears(Integer sbYears) {
        this.sbYears = sbYears;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Integrate{" +
        ", id=" + id +
        ", name=" + name +
        ", age=" + age +
        ", education=" + education +
        ", sbYears=" + sbYears +
        ", phone=" + phone +
        ", createTime=" + createTime +
        ", score=" + score +
        "}";
    }
}
